<?php

namespace app\common\services;

use think\facade\Db;
use app\common\model\ExamPaper as ExamPaperModel;
use app\common\model\Config as ConfigModel;


use think\facade\Cache;

class ExamService
{

    /**
     * 获取ICAO模拟考试分类
     */
    public static function getCate(){
        
        $configModel = new ConfigModel;
        $result      = $configModel->where('name','IN',['lcao_paper_id_1','lcao_paper_id_2'])->column('value','name');
        if(empty($result)){
            return [];
        }
        return $result;
    }
}